package com.first.xiinn.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.first.core.web.model.BaseModel;

public class ShortMessage extends BaseModel
{
  private String messageId;
  private String content;
  private String senderId;
  private String sender;
  private Date sendTime;
  public static final Short MSG_TYPE_PERSONAL = 1;
  public static final Short MSG_TYPE_CALENDAR = 2;
  public static final Short MSG_TYPE_PLAN = 3;
  public static final Short MSG_TYPE_TASK = 4;
  public static final Short MSG_TYPE_SYS = 5;

  private Set<InMessage> messages = new HashSet();

  public Set<InMessage> getMessages()
  {
    return this.messages;
  }

  public void setMessages(Set<InMessage> messages)
  {
    this.messages = messages;
  }

  public String getMessageId() {
    return this.messageId;
  }

  public void setMessageId(String messageId) {
    this.messageId = messageId;
  }

  public String getContent() {
    return this.content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public String getSenderId() {
    return this.senderId;
  }

  public void setSenderId(String senderId) {
    this.senderId = senderId;
  }

  public String getSender() {
    return this.sender;
  }

  public void setSender(String sender) {
    this.sender = sender;
  }

  public Date getSendTime() {
    return this.sendTime;
  }

  public void setSendTime(Date sendTime) {
    this.sendTime = sendTime;
  }
}

